import { defineStore } from 'pinia'
import { ref } from 'vue'

const useUserStore = defineStore('user', () => {

  const userAccount = ref<string>('')
  const userPassword = ref<string>('')

  const Reload = () => {
    userAccount.value = ''
    userPassword.value = ''
  }

  return {
    userAccount,
    userPassword,
    Reload,
  }
})

export default useUserStore